package com.koron.car.web.carledger.bean.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author twcao
 * @title: CarQuery
 * @projectName GDH_EAM_V2
 * @description: 查询条件
 * @date 2022/2/2615:10
 */
@Data
@Accessors(chain = true)
public class CarQuery extends PageQuery {

    @ApiModelProperty("id，主键")
    private String id;

    @ApiModelProperty("车牌号")
    private String licPlateNum;

    @ApiModelProperty("车辆品牌")
    private String brand;

    @ApiModelProperty("座位数")
    private Integer seat;

    @ApiModelProperty("车管员")
    private String carController;

    @ApiModelProperty("车管员名称")
    private String carControllerName;

    @ApiModelProperty("所属车队，所属车队id(新建即保存或新增)")
    private String motorcade;

    @ApiModelProperty("归属组织")
    private String ownerOrg;

    @ApiModelProperty("定编号")
    private String prepareNumber;

    @ApiModelProperty("编制类型，字典(prepare_type)：经营管理、业务保障、未定编")
    private String prepareType;

    @ApiModelProperty("状态，字典：留用、空闲、出车、借出、维修、废弃、草稿")
    private List<String> states;

    @ApiModelProperty("是否已绑定，即是否有定编号")
    private Boolean bind;

    @JsonIgnore
    @ApiModelProperty(value = "删除标志", hidden = true)
    private Boolean deleteFlag;
}
